/**
 * @file CWidget.h
 * @author SoBigDog (623644973lubin@163.com)
 * @brief 
 * @version 0.1
 * @date 2020-04-09
 * 
 * @copyright Copyright (c) 2020
 * 
 */
#pragma once

#include <ncurses.h>
#include <string>
#include <sstream>
#include <iostream>

/**
 * @brief 
 * 
 */
class Widget : private WINDOW
{
public:
	Widget(WINDOW *, int, int, int, int);
	~Widget() {}

	virtual int	fresh(void);
	bool 		display(bool);
	virtual int	resize(int, int);
	
protected:
	WINDOW * win;
	int m_cursor;
	bool m_display;
	bool m_box;

private:


};


